import { createApp } from 'vue'
import router from './router'
import App from '@/App.vue'
import Antd from 'ant-design-vue';
import { createPinia } from 'pinia'
import piniaPersist from 'pinia-plugin-persist'
import 'virtual:uno.css'
import 'ant-design-vue/dist/reset.css';

const pinia = createPinia()
pinia.use(piniaPersist)
const app = createApp(App)
app.use(pinia)
app.use(Antd);
app.use(router)

router.isReady().then(() => app.mount('#app'))
